//
//  SampuxEquipmentDetailView.h
//  Sampux
//
//  Created by rzm on 16/7/6.
//  Copyright © 2016年 rzm. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SampuxCustomView.h"
#import "SampuxListModel.h"
#import "SampuxContentBtn.h"
#import "MJRefreshStateHeader.h"

@protocol  SampuxToolBarButtonSelectedDelegate<NSObject>

- (void)toolBarBtnSelectedDegate;
@end


typedef void(^offBlock)(void);
typedef void(^oBlock)(void);
typedef void(^rBlock)(void);

typedef void(^bBlock)(void);

@interface SampuxEquipmentDetailView : SampuxCustomView

@property (nonatomic, assign) id <SampuxToolBarButtonSelectedDelegate> toolBarDelegate;
//@property (nonatomic,assign) BOOL isOffOrNot;
@property (nonatomic,assign) BOOL isTimerModeOrNot;
//@property (nonatomic,assign) BOOL isAntifreezOrNot; // 过冷保护标志
//@property (nonatomic,assign) BOOL isHeatOrNot;
//@property (nonatomic, assign) NSInteger heatModel;
//@property (nonatomic, assign) CGFloat currentRoomHumidity;//当前房间湿度
//@property (nonatomic, assign) CGFloat currentRoomTempe;//当前房间温度

@property (nonatomic, strong) SampuxListModel *model;
@property (nonatomic, copy) NSString *account;
@property (nonatomic, copy) NSString *titleStr;
@property (nonatomic, copy) offBlock offStateClickBlock ;
@property (nonatomic, copy) bBlock backBlock ;
@property (nonatomic, copy) oBlock addOffViewBtnBlock ;
@property (nonatomic, copy) rBlock removewOffViewBtnBlock ;

@property (nonatomic, strong) SampuxContentBtn *shutBtnOnHand ;
@property (nonatomic, strong) SampuxContentBtn *shutBtnOnTime ;

@property (nonatomic, strong) SampuxCustomNavController *nav;
@property (nonatomic, strong) MJRefreshStateHeader *header;
@property (nonatomic, strong) UIScrollView *backView;


//@property (nonatomic, assign) BOOL isConnectedOrNot;

@end
